import request from "@/utils/request";

export function getAttributeList(params:object){
    return request({
        url:"/mall-pms/api/v1/attributes",
        method:"get",
        params:params
    })
}


// 批量修改商品属性
export function updateAttribute(data:object){
    return request({
        url:"/mall-pms/api/v1/attributes/batch",
        method:"post",
        data:data
    })
}